package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Order;

public interface OrderService {
    ServerResponse create(Order order);

    ServerResponse findByUserIdGoodsId(Integer userId, Integer goodsId);

    ServerResponse updateOrder(Order order);

    ServerResponse deleteOrder(Integer orderId);

    ServerResponse payMonet(Order order);

    ServerResponse find(Integer orderId);

    ServerResponse findMyOrderList(Integer userId);
}